Skip to content

Conversation

rkistner
Copy link
Contributor

@rkistner rkistner commented May 6, 2025

The diagnostics app overrides SqliteBucketStorage to track some metadata. This was not updated when we implemented bucket priorities, resulting in checksum failures in the diagnostics app when bucket priorities are used.

The symptoms would be repeated logs like below, and never completing the sync.

[PowerSyncStream] Partial checkpoint complete 1
[SqliteBucketStorage] validateChecksums priority, checkpoint, result item undefined, {...}
[SqliteBucketStorage] Checksums failed for ...
[SqliteBucketStorage] done deleting bucket

This issue was specific to the diagnostics app, and did not affect any other SDK clients.

The deployed diagnostics app version was a little outdated, and not affected by this issue.

@rkistner rkistner requested a review from simolus3 May 6, 2025 12:35
Copy link

changeset-bot bot commented May 6, 2025

🦋 Changeset detected

Latest commit: 4720bf8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rkistner rkistner merged commit d3c8d7f into main May 6, 2025
6 checks passed
@rkistner rkistner deleted the fix-diagnostics-app branch May 6, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants